<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>error</title>
</head>
<body>

    <h1>出异常了</h1>

    <span>错误信息：</span><h1 th:text="${msg}"></h1>    // 获取变量
    <span>错误状态码：</span><h1 th:text="${code}"></h1>
    <span>失败API地址：</span><h1 th:text="${URL}"></h1>

</body>
</html>